<?php
declare (strict_types = 1);

namespace app\admin\controller;

use \think\facade\View;
class Set
{
    public function adv()
    {
        $t=\think\facade\Db::name('banner')->order('sort')->select();
        View::assign('t',$t);
        return view();
//        return View::fetch();
    }
    public function info()
    {
        $t=\think\facade\Db::name('program')->where('id',1)->find();
        View::assign('t',$t);
        return view();
//        return View::fetch();
    }
    public function pass()
    {
        return view();
//        return View::fetch();
    }
}
